package com.auxteam.elope;

import android.os.Bundle;

import com.auxteam.elope.activities.BaseActivity;
import com.auxteam.elope.activities.DefaultBaseActivity;
import com.auxteam.elope.activities.SampleListFragment;
import com.auxteam.elope.fragments.ColorFragment;
import com.auxteam.elope.menus.DefaultMenuList;
import com.auxteam.elope.menus.SampleItem;
import com.jeremyfeinstein.slidingmenu.lib.SlidingMenu;

public class DefaultHomeScreen extends DefaultBaseActivity {

	public DefaultHomeScreen() {
		super(R.string.app_name);
	}

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		getSlidingMenu().setMode(SlidingMenu.LEFT);
		getSlidingMenu().setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);
		
		setContentView(R.layout.content_frame);
		getSupportFragmentManager()
		.beginTransaction()
		.replace(R.id.content_frame, new ColorFragment())
		.commit();
		
//		getSlidingMenu().setSecondaryMenu(R.layout.menu_frame_two);
//		getSlidingMenu().setSecondaryShadowDrawable(R.drawable.shadowright);
//		getSupportFragmentManager()
//		.beginTransaction()
//		.replace(R.id.menu_frame_two, new SampleListFragment())
//		.commit();
	}

}
